A Cost-Based Approach for Converting Relational Schemas to XML
نویسنده
چکیده
Converting relational database schemas to XML schemas is important as applications originally written to manipulate relational data are converted to XML-enabled applications. Most research has focused on the challenging problem of efficiently extracting relational data through XML views. However, another important challenge is determining good XML schemas from existing relational schemas, so that applications may be migrated to use XML. In this paper, we propose a cost measure based on the space efficiency of the XML encoding as a metric for measuring the XML schema’s desirability. Using this cost metric, we define an algorithm that returns the optimal XML encoding exhibiting no redundancy. Further, the algorithm can calculate the most space efficient encoding with respect to user constraints on the XML schema, which has previously not been possible without forcing the user to specify a complete mapping. The result is a fully automatic system for migrating relational schemas to XML schemas while respecting conversion constraints.
منابع مشابه
Holistic Schema Mappings for XML-on-RDBMS
When hosting XML information on relational backends, a mapping has to be established between the schemas of the information source and the target storage repositories. A rich body of recent literature exists for mapping isolated components of XML Schema to their relational counterparts, especially with regard to table configurations. In this paper, we present the Elixir system for designing “in...
متن کاملMatching XML DTDs to relational database views
In this paper we approach the problem of matching a set of XML Document Type Definitions against a view schema drawn form a relational database, aiming at evaluating the similarity between the view schema and the DTDs for (semi)automatic translation of relational tables (i.e., views, queries) data into XML documents. The paper discusses a matching algorithm and evaluates the similarity criteria...
متن کاملTranslating Relational Schemas into Object-based/XML Schemas
This paper proposes an approach for translating an existing relational database (RDB) schema into relatively newer database (i.e., object-oriented, object-relational and XML) schemas, based on available standards. The approach is superior to existing proposals as it generates three different and equivalent target schemas. The solution takes an RDB as input, enriches its metadata representation ...
متن کاملNeT & CoT: Inferring XML Schemas from Relational World
With XML emerging as the data format of the Internet era, there is a substantial increase in the amount of data encoded in XML. However, the majority of everyday data is still stored and maintained in relational databases. Therefore, we expect the needs to convert such relational data into XML documents will grow substantially as well. Two conversion algorithms, called NeT and CoT, to translate...
متن کاملMatching of XML Schemas and Relational Schemas
XML is widely used for data exchange between relational databases. Generic exchange tools are based on mappings between the elements of both schemas. Despite the benefits of using generic tools, the manual definition of the mappings can become a time consuming and error-prone task. Given this scenario we propose algorithms for the automatic matching of XML schemas(DTDs) and relational schemas. ...
متن کامل